home *** CD-ROM | disk | FTP | other *** search
- #
- # (C) Tenable Network Security
- #
- #
- # The text of this plugin is (C) Red Hat Inc.
-
- if ( ! defined_func("bn_random") ) exit(0);
- if(description)
- {
- script_id(12422);
- script_version ("$Revision: 1.3 $");
- script_cve_id("CAN-2003-0694");
-
- name["english"] = "RHSA-2003-284: sendmail";
-
- script_name(english:name["english"]);
-
- desc["english"] = '
-
- Updated Sendmail packages that fix a potentially-exploitable vulnerability
- are now available.
-
- Sendmail is a widely used Mail Transport Agent (MTA) and is included in all
- Red Hat Enterprise Linux distributions.
-
- There is a bug in the prescan() function of Sendmail versions prior to and
- including 8.12.9. The sucessful exploitation of this bug can lead to heap
- and stack structure overflows. Although no exploit currently exists, this
- issue is locally exploitable and may also be remotely exploitable.
- The Common Vulnerabilities and Exposures project (cve.mitre.org) has
- assigned the name CAN-2003-0694 to this issue.
-
- All users are advised to update to these erratum packages containing a
- backported patch which corrects these vulnerabilities.
-
- Red Hat would like to thank Michal Zalewski for finding and reporting this
- issue.
-
-
-
-
- Solution : http://rhn.redhat.com/errata/RHSA-2003-284.html
- Risk factor : High';
-
- script_description(english:desc["english"]);
-
- summary["english"] = "Check for the version of the sendmail packages";
- script_summary(english:summary["english"]);
-
- script_category(ACT_GATHER_INFO);
-
- script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
- family["english"] = "Red Hat Local Security Checks";
- script_family(english:family["english"]);
-
- script_dependencies("ssh_get_info.nasl");
-
- script_require_keys("Host/RedHat/rpm-list");
- exit(0);
- }
-
- include("rpm.inc");
- if ( rpm_check( reference:"sendmail-8.11.6-28.72", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"sendmail-cf-8.11.6-28.72", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"sendmail-devel-8.11.6-28.72", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"sendmail-doc-8.11.6-28.72", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
-
- if ( rpm_exists(rpm:"sendmail-", release:"RHEL2.1") )
- {
- set_kb_item(name:"CAN-2003-0694", value:TRUE);
- }
-
- set_kb_item(name:"RHSA-2003-284", value:TRUE);
-